package com.milkshopbackend.milkshop.Service.impl;

import com.milkshopbackend.milkshop.Service.MailService;
import lombok.Data;
import org.springframework.stereotype.Service;

@Data
@Service
public class MailServiceImpl implements MailService {
    @Override
    public void send(String to, String subject, String content) {
        // 这里可以集成JavaMailSender，当前先用日志模拟
        System.out.println("发送邮件到：" + to + "，主题：" + subject + "，内容：" + content);
    }
}